package graph.views.RunningForm;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Graphics;

import javax.swing.JPanel;

public class RunningPanel extends JPanel  {
	private ToolboxRunningPanel toolbox;
	private AlgorithmTextPanel algorithm;
	
	public RunningPanel() {
		toolbox = new ToolboxRunningPanel();
		algorithm = new AlgorithmTextPanel();
		
		this.add(algorithm, BorderLayout.WEST);
		this.add(toolbox, BorderLayout.SOUTH);
	}
	
	@Override
	public void paintComponents(Graphics g) {
		//super.paintComponents(g);
		
		g.setColor(Color.RED);
		g.drawRect(100, 100, 400, 400);
		
	}
}
